
from django.contrib import admin
from django.urls import path
from django.conf.urls.static import static
from .settings import MEDIA_DIR, MEDIA_URL
from mainapp.views import login,to_index
import mainapp.views as vs

urlpatterns = [
    path('login/', login),
    path('role/', vs.role),
    path('', to_index),

]+static(MEDIA_URL, document_root=MEDIA_DIR)
